#include "movingobject.h"

MovingObject::MovingObject()
{
}

void MovingObject::acceptPos()
{

    lastSafePos = pos();
}

void MovingObject::revertPos()
{
    setPos(lastSafePos);
    realPos = lastSafePos;
}
